#include <stdio.h>
#include <stdlib.h>
#include "..\tools\tools.h"
/*
QF: 75 ,  SIZE: 512x384
bpc:
0.05 : 9831 1229B
0.1 : 19661 2458B
*/
//#define LEN 1229
#define LEN 2458
int main(int argc, char** argv) {
	char msg[LEN+1] = {0};
	long msglen = LEN;
	int i,ret;
	char *inpath, *outpath;
	if (argc > 2) {
		inpath = argv[1];
		outpath = argv[2];
	}
	for (i = 0;i<msglen;i++)
		msg[i]=(char)(rand() % 256);
	msg[msglen] = '\0';

	
	//ret = jstege(inpath, outpath, msg, msglen, rand());
	//ret = f3e(inpath, outpath,msg,msglen, rand());
	//ret = f4e(inpath, outpath,msg,msglen, rand());
	ret = f5e(inpath, outpath, 2, msg,msglen, rand());


	return 0;
}